from django.conf.urls import url
from rest_framework import routers
from . import rest_views


rest_routers = routers.DefaultRouter()
rest_routers.register('compounds', rest_views.CompoundViewSet)
rest_routers.register('synonyms', rest_views.SynonymsViewSet)
rest_routers.register('products', rest_views.ProductsViewSet)
rest_routers.register('uniprot-info', rest_views.UniprotInfoViewSet)

# urlpatterns = rest_routers.urls
# urlpatterns += [
#     url(r'^structure-search/', rest_views.structure_search)
# ]